package com.fancy.application.framework.dic.model;

import com.fancy.application.framework.dic.annotation.ModelField;
import com.fancy.application.framework.dic.enums.TypeEnums;

/**
 * 暂不启用
 * Created by wison on 17/3/22.
 */

public final class DictionaryModelFieldObj extends FancyAbStractDictionaryObj {
    /*
    public String name;
    public String messageKey;
    public TypeEnums type;
    public String table;
    public String column;
    public boolean nullable;

    public DictionaryModelFieldObj(ModelField modelField) {
        this.name = replaceNull(modelField.name());
        this.column = replaceNull(modelField.column());
        this.messageKey = getMessage(modelField.messageKey());
        this.type = modelField.type();
        this.table = replaceNull(modelField.table());
        this.column = replaceNull(modelField.column());
        this.nullable = modelField.nullable();
    }

    public boolean isNullable() {
        return nullable;
    }

    public String getName() {
        return name;
    }

    public String getMessageKey() {
        return messageKey;
    }

    public TypeEnums getType() {
        return type;
    }

    public String getTable() {
        return table;
    }

    public String getColumn() {
        return column;
    }

    */
}
